<template>
  <div>
 

   
    <Header></Header>
    <Main></Main>
    <Footer></Footer>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
//引入子组件
import Header from "./Header";
import Main from "./Main";
import Footer from "./Footer";

export default {
  name: "Dashboard",
  computed: {
    ...mapGetters(["name"]),
  },
  components: {
    Header,
    Main,
    Footer,
  },
};
</script>

<style lang="scss" scoped>
</style>
